﻿#include "FITKSpectrogramProperty.h"
#include "FITKSpectrogramWindow.h"
#include<qwt_plot.h>

namespace Plot {
    FITKSpectrogramProperty::FITKSpectrogramProperty(FITKSpectrogramWindow * Window):_window(Window)
    {
    }
    FITKSpectrogramProperty::~FITKSpectrogramProperty()
    {
    }
    void FITKSpectrogramProperty::setTitle(const QString & name)
    {
        if (!_window)return;
        if (name.isEmpty())return;
        _window->getPlotWidget()->setTitle(name);
    }
}

